package com.fund.com.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fund.com.entity.TPosts;

import java.util.List;

/**
 * (TPosts)表服务接口
 *
 * @author makejava
 * @since 2023-02-15 19:42:49
 */
public interface TPostsService extends IService<TPosts> {

    Page<TPosts> getPage(Page<TPosts> page, TPosts tPosts);

    Page<TPosts> getPageLikeName(Page<TPosts> page, TPosts tPosts);

    Boolean insertOne(TPosts tPosts);


    Boolean updateOneById(TPosts tPosts);


    Boolean deleteListByIds(List<String> idList);


    TPosts getOneById(String id);


    List<TPosts> queryAll(TPosts tPosts);
}

